namespace FAQ
{
    public class Question
    {
        /// <summary>
        /// id de la question
        /// </summary>
        public string IdQuestion { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Titre { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Response { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Date_Creation { get; set; }

        public string Date_Modif { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Categorie { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="id"></param>
        /// <param name="question"></param>
        /// <param name="reponse"></param>
        /// <param name="dateCreation"></param>
        /// <param name="dateModif"></param>
        /// <param name="categorie"></param>
        public Question(string id, string question, string reponse, string dateCreation, string dateModif, string categorie)
        {
            IdQuestion = id;
            Titre = question;
            Response = reponse;
            Date_Creation = dateCreation;
            Date_Modif = dateModif;
            Categorie = categorie;

        }
    }
}
